<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div  id="d">
    <p>{{ date }}</p>
</div>
<script src="../../../../vue.global.js"></script>
<script>
    const vue = Vue.createApp({
        data() {
            return{
                date:'00:00:00'
            }
        },
        mounted() {
                setInterval(() => {
                        let b = new Date();
                        this.date = b.getHours()+':'+b.getMinutes()+':'+b.getSeconds();
                },1000);
        }
    }).mount('#d');

</script>
</body>
</html>